package cn.sgjk.train.business.enums;

public enum RocketMqTopicEnum {
    CONFIRM_ORDER("CONFIRM_ORDER","确认订单排队")
    ;
    private String code;
    private String desc;

    RocketMqTopicEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "RocketMqTopicEnum{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                "} " + super.toString();
    }
}

